package com.mingqijia.gassafety.db.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mingqijia.gassafety.db.entity.BmapRegion;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * BmapRegionMapper
 * @author: duanhongxiang
 * @Desc:
 * @create: 2024-09-10 09:24
 **/
@Mapper
@Repository
public interface BmapRegionMapper extends BaseMapper<BmapRegion> {
    /**
     * 根据adCode查自身及下级
     * @param adCode
     * @return
     */
    List<BmapRegion> selectRegionsByAdCode(String adCode);
}
